package com.promatch.service.Impl;

import com.promatch.dao.SysUserMapper;
import com.promatch.model.SysUser;
import com.promatch.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userService")
public class UserServiceImpl implements IUserService {
    @Resource
    private SysUserMapper sysUserMapper;
    public SysUser getUserById(Integer studentId) {
        return this.sysUserMapper.selectByPrimaryKey(studentId);
    }
}
